package com.dykj.fireFighting.api.base.dev.service;

import com.dykj.fireFighting.api.base.dev.entity.DevHisWaterZc;
import com.dykj.fireFighting.api.base.dev.entity.DevHisZc;
import com.dykj.fireFighting.common.core.service.IBaseService;

import java.util.List;

/**
 * 电气火灾报警设备运行记录
 *
 * @Author LIJIANJIE
 * @Date  2021-07-12 15:10:02
 */
public interface IDevHisZcService extends IBaseService<DevHisZc> {

    int getElectricNum(String id);

    int getCurrentEleNum(String id);

    int getUpEleNum(String s);

    int getCenterEleNum(List<String> ids,String beginTime, String endTime);

    int getCenterCurrentEle(List<String> ids);

    int getCenterUpEle(List<String> ids);

    DevHisZc getElectricLimit(String relationId);

    int getEleByTime(String s, String beginTime, String endTime,String tableName);

    void updateZc(DevHisWaterZc devHisWaterZc,String tableName);
}

